package com.zatech.cgnci.project.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * @author EDY
 * @version 1.0
 * Create by 2024/12/17 17:59
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "FlowTaskCreateDTO")
@Builder
public class FlowTaskCreateDTO {

    @ApiModelProperty(value = "规则表的groupID")
    @NotBlank(message = "规则表的groupID不能为空")
    private String approvalConfigGroupId;

    @ApiModelProperty(value = "表单ID 关联业务ID")
    @NotBlank(message = "表单ID不能为空")
    private String formId;

    @ApiModelProperty(value = "表单编号 关联业务编号")
    @NotBlank(message = "表单编号不能为空")
    private String formNo;

    @ApiModelProperty("重定向地址url")
    private String redirectionUrl;

    @ApiModelProperty("重定向地址参数")
    private String redirectionParam;

    @ApiModelProperty("重定向地址描述")
    private String redirectionDesc;

   /* @ApiModelProperty(value = "userId", hidden = true)
    private String userId;

    @ApiModelProperty(value = "userName", hidden = true)
    private String userName;*/

}
